package zheezes.util;

import org.dom4j.Element;

public class Dom4jUtil {
	public static final void replaceText(Element element, String name, String text) {
		Element child = element.element(name);
		if (child == null) {
			child = element.addElement(name);
		}
		child.setText(text);
	}
}
